package com.opal.jx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面跳转
 */
@Controller
public class JxSkipController {

    @RequestMapping("jx/{page}")
    public String skipJx(@PathVariable("page")String page){
        return "jx/"+page;
    }

    @RequestMapping("jx/jxAssess/{page}")
    public String skipJxAssessPage(@PathVariable("page") String page){
        return "jx/jxAssess/"+page;
    }

    //配制车间各岗位考核页面
    @RequestMapping("jx/jxAssess/pzcj/{page}")
    public String skipjxAssessPzcjPage(@PathVariable("page") String page){
        return "jx/jxAssess/pzcj/"+page;
    }

    //包装车间各岗位考核页面
    @RequestMapping("jx/jxAssess/bzcj/{page}")
    public String skipjxAssessBzcjPage(@PathVariable("page") String page){
        return "jx/jxAssess/bzcj/"+page;
    }

    //品保部各岗位考核页面
    @RequestMapping("jx/jxAssess/pbb/{page}")
    public String skipjxAssessPbbPage(@PathVariable("page") String page){
        return "jx/jxAssess/pbb/"+page;
    }

    //物流部各岗位考核页面
    @RequestMapping("jx/jxAssess/wlb/{page}")
    public String skipjxAssessWLBPage(@PathVariable("page") String page){
        return "jx/jxAssess/wlb/"+page;
    }

}
